package 扑克牌;

public class Pokers {
    //有花色
    //有数
    //有颜色
    private String decor;
    private int val;
    private String colour;

    public Pokers(String decor, int val, String colour) {
        this.decor = decor;
        this.val = val;
        this.colour = colour;
    }

    public String getDecor() {
        return decor;
    }

    public void setDecor(String decor) {
        this.decor = decor;
    }

    public int getVal() {
        return val;
    }

    public void setVal(int val) {
        this.val = val;
    }

    public String getColour() {
        return colour;
    }

    public void setColour(String colour) {
        this.colour = colour;
    }

    @Override
    public String toString() {
        return "{" +
                 decor + '\'' +
                 val +
                colour + '\'' +
                '}';
    }
}
